package com.voute.Model.Bean;

/**
 * Created by liucxu on 2017/1/14.
 */

public class SearchResultEntity {

    private int all_vote;

    private int left_vote;

    private String hash;

    private String title;

    private String left_option;

    private int right_vote;

    private String live_time;

    private boolean voted;

    private String right_option;

    private long id;

    public int getSelf_vote() {
        return self_vote;
    }

    public void setSelf_vote(int self_vote) {
        this.self_vote = self_vote;
    }

    private int self_vote;



    public String getSide() {
        return side;
    }

    public void setSide(String side) {
        this.side = side;
    }

    private String side;

    public boolean isLeftVote() {
        if ("left".equals(this.side)) {
            return true;
        }
        return false;
    }

    public int getAll_vote() {
        return all_vote;
    }

    public void setAll_vote(int all_vote) {
        this.all_vote = all_vote;
    }

    public int getLeft_vote() {
        return left_vote;
    }

    public void setLeft_vote(int left_vote) {
        this.left_vote = left_vote;
    }

    public String getHash() {
        return hash;
    }

    public void setHash(String hash) {
        this.hash = hash;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLeft_option() {
        return left_option;
    }

    public void setLeft_option(String left_option) {
        this.left_option = left_option;
    }

    public int getRight_vote() {
        return right_vote;
    }

    public void setRight_vote(int right_vote) {
        this.right_vote = right_vote;
    }

    public String getLive_time() {
        return live_time;
    }

    public void setLive_time(String live_time) {
        this.live_time = live_time;
    }

    public boolean isVoted() {
        return voted;
    }

    public void setVoted(boolean voted) {
        this.voted = voted;
    }

    public String getRight_option() {
        return right_option;
    }

    public void setRight_option(String right_option) {
        this.right_option = right_option;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }
}

